﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using KPIS.GERP.GIMS.MODEL;
using Telerik.Web.UI;

namespace KPIS.GERP.GIMS.IBLL
{
    public interface IBLLMasterContact
    {
        IList<MasterContactInfo> GetMasterContact();
        IList<MasterContactInfo> GetMasterContact(string record_status);
        MasterContactInfo GetMasterContact(int seq);
        void Insert(MasterContactInfo info);
        void Insert(MasterContactInfo info, IList<MasterContactBankInfo> infoListBank, IList<MasterContactPartnerInfo> infoListPartner);
        void Update(MasterContactInfo info);
        void Delete(MasterContactInfo info);
        void DeleteAll(IList<MasterContactInfo> infoList);
        void DeleteFromDB(IList<MasterContactInfo> infoList);
        void Restore(IList<MasterContactInfo> infoList);
        IList<MasterContactInfo> GetMasterContactNoBlackList(string search_text);
        MasterContactInfo GetContactByPo(int PoSeq);
    }
}
